Fix network bridge script to select the right interface when bridge already exists.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Thu, 11 May 2006 21:39:44 +0000 (22:39 +0100)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Thu, 11 May 2006 21:39:44 +0000 (22:39 +0100)
commit8cc76e4aee7ccd85bf38fe88bc4870fb037263b3
tree10a48ff0d53321ac4259bd206f2157bbe3662ceb
parent15efc30a115d80da597e88dabfd8bd4914645b35
Fix network bridge script to select the right interface when bridge already exists.
If the bridge is already configure, the default route will point
to a xenbr interface and not an eth interface.  Handle this case.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/examples/network-bridge